package com.bzframework.pro.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.hswebframework.web.api.crud.entity.GenericEntity;
import org.hswebframework.web.crud.annotation.EnableEntityEvent;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @Author bingzhong
 * @Date 2025/4/21 11:42
 * @Description 课程表
 */

@Table(name = "beiya_course")
@Getter
@Setter
@Schema(description = "课程")
@EnableEntityEvent //开启实体类crud事件
public class CourseEntity extends GenericEntity<String> {

    /**
     * 课程id
     */
    @Column
    private String shift_id;

    @Column
    private String name;

    @Column
    private String createtime;

    @Column
    private String updatetime;

    @Column
    private Integer status;

}
